/**
 * Copyright (C) 2009 eXo Platform SAS.
 * 
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 * 
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */

.UIPopupCategory {
	/*
		filter:alpha(opacity=50);
		-moz-opacity: 0.5;
		opacity: 0.5; For Mozilla FireFox
		khtml-opacity: 0.5;
	*/
	position: absolute;
	width: 120px;
	top: 19px;
	left: -85px; /* orientation=lt */
	right: -85px; /* orientation=rt */
	border: 1px solid #787878;
	box-shadow: 1px 1px 2px #787878; /* orientation=lt */
	-moz-box-shadow: 1px 1px 2px #787878; /* orientation=lt */
	-webkit-box-shadow: 1px 1px 2px #787878; /* orientation=lt */
	box-shadow: -1px 1px 2px #787878; /* orientation=rt */
	-moz-box-shadow: -1px 1px 2px #787878; /* orientation=rt */
	-webkit-box-shadow: -1px 1px 2px #787878; /* orientation=rt */
	margin-top: 8px;
	background: #ffffff;
}

.UIPopupCategory .PopupCategoryDecorator {
	background: url('background/PopupCategory.gif') no-repeat 88% top; /* orientation=lt */
	background: url('background/PopupCategory-rt.gif') no-repeat 8px top; /* orientation=rt */
	margin-top: -11px;
	padding: 15px 4px 4px;
}

.UIPopupCategory .CategoryItem .Icon {
	width: 16px;
	height: 16px;
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	margin: 3px 3px 0px 7px;/* orientation=lt */
	margin: 3px 7px 0px 3px;/* orientation=rt */
	background: transparent url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/GrayNextArrow.gif') no-repeat;
}

.UIPopupCategory .CategoryItem .ModifiedIcon {
	margin-left: 0px;
}

.UIPopupCategory .CategoryItem {
	color: #333;
	background: #efefef;
	border-bottom: 1px #cdcdcd solid;
	cursor: pointer;
	display: block;
	padding-left: 18px; /* orientation=lt */
	padding-right: 18px; /* orientation=rt */
	height: 22px;
	line-height: 22px;
	background: #efefef url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/GrayNextArrow.gif') no-repeat left center; /* orientation=lt */
	background: #efefef url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/GrayNextArrow-rt.gif') no-repeat right center; /* orientation=rt */
}

.UIPopupCategory .CategoryItem:hover {
	color: #2569dc;
	border-bottom: 1px #cdcdcd solid;
	cursor: pointer;
	display: block;
	padding-left: 18px; /* orientation=lt */
	padding-right: 18px; /* orientation=rt */
	height: 22px;
	line-height: 22px;
	background: #cbcff2 url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/GrayNextArrow.gif') no-repeat left center; /* orientation=lt */
	background: #cbcff2 url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/GrayNextArrow-rt.gif') no-repeat right center; /* orientation=rt */
}

.PopupCategoryMask {
	background-color: transparent;
	border: none;
	cursor: pointer;
	width: 100%;
	height: 100%;
	float: right; /* orientation=lt */
	float: left; /* orientation=rt */
	outline: 0;
}

.PopupCategoryMask::-moz-focus-inner {
	border: none;
}